package com.mykt;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;


@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@EnableAsync
@MapperScan("com.mykt.**.mapper")
public class MyktProductApplication {

    public static void main(String[] args) throws InterruptedException {
        SpringApplication.run(MyktProductApplication.class, args);
        System.err.println("==========商品模块 success===========");
    }

}